package com.jzr.medical.db1.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.jzr.medical.common.LayEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * <p>
 * 编码列表
 * </p>
 *
 * @author henry
 * @since 2019-08-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="TCodeList对象", description="编码列表")
public class TCodeList extends LayEntity<Integer> {
    private static final long serialVersionUID = 1L;
    public static final String TableName = "t_code_list";
    public static final String Id_ = "id";
    public static final String ListName_ = "list_name";
    public static final String Code_ = "code";
    public static final String Name_ = "name";
    public static final String Sort_ = "sort";
    public static final String UpdateTime_ = "update_time";
    public static final String UpdateBy_ = "update_by";


    @ApiModelProperty(value = "代码id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "代码名称")
    @TableField("list_name")
    private String listName;

    @ApiModelProperty(value = "代码编号")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "代码描述")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "排序")
    @TableField("sort")
    private Integer sort;

    @ApiModelProperty(value = "更新日期")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "更新人")
    @TableField("update_by")
    private Integer updateBy;


}
